package com.tsingteng.cosfun.ui.message.geneal;

import android.view.View;
import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.tsingteng.cosfun.R;
import com.tsingteng.cosfun.bean.FansBean;
import com.tsingteng.cosfun.bean.PlayBean;
import com.tsingteng.cosfun.bean.VideoBean;
import com.tsingteng.cosfun.utils.ImageUtils;

/**
 * 描述 :
 * 创建人: 肖利.
 * 时间:2018/8/7
 * qq(872179966)
 */

public class PlayVideoAdapter extends BaseQuickAdapter<VideoBean,BaseViewHolder> {
    public PlayVideoAdapter() {
        super(R.layout.item_video_play_adapter);
    }

    @Override
    protected void convert(BaseViewHolder helper, VideoBean item) {
        ImageView videoCover = helper.getView(R.id.iv_video_cover);
        ImageUtils.LoadImage(mContext,item.getVideoCverUrl(),videoCover);

    }
}
